package cn.gson.springboot.model.mapper;


import cn.gson.springboot.model.pojos.Complain;
import cn.gson.springboot.model.pojos.Maintenance;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

@Mapper
@Component("maintenanceMapper")
public interface MaintenanceMapper {
    public List<Maintenance> selectAll(@Param("search") String search, @Param("type") Integer type);

    public List<Maintenance> selectMaintenanceCus(Integer cusId);

    public Maintenance selectOne(@Param("maiId") Integer maiId);

    public int selectA();
    public int selectB();
    public int selectC();
    public int selectD();
    public int selectE();
    public int selectF();
    public int selectG();
    public List<Maintenance> selectA2();
    public List<Maintenance> selectB2();
    public List<Maintenance> selectC2();
    public List<Maintenance> selectD2();
    public List<Maintenance> selectE2();
    public List<Maintenance> selectF2();
    public List<Maintenance> selectG2();
}

